\hypertarget{interface_political_classifier_1_1_support_1_1_i_data_set_source}{\section{Political\-Classifier.\-Support.\-I\-Data\-Set\-Source Interface Reference}
\label{interface_political_classifier_1_1_support_1_1_i_data_set_source}\index{Political\-Classifier.\-Support.\-I\-Data\-Set\-Source@{Political\-Classifier.\-Support.\-I\-Data\-Set\-Source}}
}


Interface represents the primitive functionality offered by \hyperlink{interface_political_classifier_1_1_support_1_1_i_data_set_source}{I\-Data\-Set\-Source} responsible for Opening, reading and invalidating a given data.  


Inheritance diagram for Political\-Classifier.\-Support.\-I\-Data\-Set\-Source\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{interface_political_classifier_1_1_support_1_1_i_data_set_source}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{interface_political_classifier_1_1_support_1_1_i_data_source_load_results}{I\-Data\-Source\-Load\-Results} \hyperlink{interface_political_classifier_1_1_support_1_1_i_data_set_source_adc4faf8221af984ac443767c67a6a359}{Load} (string file\-Name)
\begin{DoxyCompactList}\small\item\em Open, read and validate a given file. \end{DoxyCompactList}\item 
\hyperlink{interface_political_classifier_1_1_support_1_1_i_data_source_load_results}{I\-Data\-Source\-Load\-Results} \hyperlink{interface_political_classifier_1_1_support_1_1_i_data_set_source_a949a2994cfeb9b2bd2202003af07c407}{Create\-Unknown\-Error\-Load\-Results} ()
\begin{DoxyCompactList}\small\item\em Create an instance of data source load results pre-\/loaded with an unknown error instance. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Properties}
\begin{DoxyCompactItemize}
\item 
I\-Collection$<$ \hyperlink{interface_political_classifier_1_1_support_1_1_i_voter_record}{I\-Voter\-Record} $>$ \hyperlink{interface_political_classifier_1_1_support_1_1_i_data_set_source_ae3a4252a01673224b1270383e4b746d6}{Voters\-Record}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Returns the collection of I\-Voters\-Records on successful opening a given file. Otherwise returns null. \end{DoxyCompactList}\item 
bool \hyperlink{interface_political_classifier_1_1_support_1_1_i_data_set_source_a30a3b277fde9758d1d64c99c476c473f}{Is\-File\-Opened\-Successfully}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Return the status of the file if opened successfully. \end{DoxyCompactList}\item 
int \hyperlink{interface_political_classifier_1_1_support_1_1_i_data_set_source_a4d7a57041ed4e515100c43b9248a0110}{Ignored\-Rows\-Count}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Return the count of ignored records. \end{DoxyCompactList}\item 
string\mbox{[}$\,$\mbox{]} \hyperlink{interface_political_classifier_1_1_support_1_1_i_data_set_source_aa7323ea2e103213706ee581903222ac5}{Column\-Names}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em Returns the names of the columns in the data source. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Interface represents the primitive functionality offered by \hyperlink{interface_political_classifier_1_1_support_1_1_i_data_set_source}{I\-Data\-Set\-Source} responsible for Opening, reading and invalidating a given data. 



\subsection{Member Function Documentation}
\hypertarget{interface_political_classifier_1_1_support_1_1_i_data_set_source_a949a2994cfeb9b2bd2202003af07c407}{\index{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}!Create\-Unknown\-Error\-Load\-Results@{Create\-Unknown\-Error\-Load\-Results}}
\index{Create\-Unknown\-Error\-Load\-Results@{Create\-Unknown\-Error\-Load\-Results}!PoliticalClassifier::Support::IDataSetSource@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}}
\subsubsection[{Create\-Unknown\-Error\-Load\-Results}]{\setlength{\rightskip}{0pt plus 5cm}{\bf I\-Data\-Source\-Load\-Results} Political\-Classifier.\-Support.\-I\-Data\-Set\-Source.\-Create\-Unknown\-Error\-Load\-Results (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}\label{interface_political_classifier_1_1_support_1_1_i_data_set_source_a949a2994cfeb9b2bd2202003af07c407}


Create an instance of data source load results pre-\/loaded with an unknown error instance. 

\begin{DoxyReturn}{Returns}
Unknown load results.
\end{DoxyReturn}


Implemented in \hyperlink{class_political_classifier_1_1_data_source_1_1_data_set_source_a6e1e03866c7984150292ea5bc8c4a3c1}{Political\-Classifier.\-Data\-Source.\-Data\-Set\-Source}.

\hypertarget{interface_political_classifier_1_1_support_1_1_i_data_set_source_adc4faf8221af984ac443767c67a6a359}{\index{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}!Load@{Load}}
\index{Load@{Load}!PoliticalClassifier::Support::IDataSetSource@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}}
\subsubsection[{Load}]{\setlength{\rightskip}{0pt plus 5cm}{\bf I\-Data\-Source\-Load\-Results} Political\-Classifier.\-Support.\-I\-Data\-Set\-Source.\-Load (
\begin{DoxyParamCaption}
\item[{string}]{file\-Name}
\end{DoxyParamCaption}
)}}\label{interface_political_classifier_1_1_support_1_1_i_data_set_source_adc4faf8221af984ac443767c67a6a359}


Open, read and validate a given file. 


\begin{DoxyParams}{Parameters}
{\em file\-Name} & \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Any validation errors.
\end{DoxyReturn}


\subsection{Property Documentation}
\hypertarget{interface_political_classifier_1_1_support_1_1_i_data_set_source_aa7323ea2e103213706ee581903222ac5}{\index{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}!Column\-Names@{Column\-Names}}
\index{Column\-Names@{Column\-Names}!PoliticalClassifier::Support::IDataSetSource@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}}
\subsubsection[{Column\-Names}]{\setlength{\rightskip}{0pt plus 5cm}string \mbox{[}$\,$\mbox{]} Political\-Classifier.\-Support.\-I\-Data\-Set\-Source.\-Column\-Names\hspace{0.3cm}{\ttfamily [get]}}}\label{interface_political_classifier_1_1_support_1_1_i_data_set_source_aa7323ea2e103213706ee581903222ac5}


Returns the names of the columns in the data source. 

\hypertarget{interface_political_classifier_1_1_support_1_1_i_data_set_source_a4d7a57041ed4e515100c43b9248a0110}{\index{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}!Ignored\-Rows\-Count@{Ignored\-Rows\-Count}}
\index{Ignored\-Rows\-Count@{Ignored\-Rows\-Count}!PoliticalClassifier::Support::IDataSetSource@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}}
\subsubsection[{Ignored\-Rows\-Count}]{\setlength{\rightskip}{0pt plus 5cm}int Political\-Classifier.\-Support.\-I\-Data\-Set\-Source.\-Ignored\-Rows\-Count\hspace{0.3cm}{\ttfamily [get]}}}\label{interface_political_classifier_1_1_support_1_1_i_data_set_source_a4d7a57041ed4e515100c43b9248a0110}


Return the count of ignored records. 

\hypertarget{interface_political_classifier_1_1_support_1_1_i_data_set_source_a30a3b277fde9758d1d64c99c476c473f}{\index{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}!Is\-File\-Opened\-Successfully@{Is\-File\-Opened\-Successfully}}
\index{Is\-File\-Opened\-Successfully@{Is\-File\-Opened\-Successfully}!PoliticalClassifier::Support::IDataSetSource@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}}
\subsubsection[{Is\-File\-Opened\-Successfully}]{\setlength{\rightskip}{0pt plus 5cm}bool Political\-Classifier.\-Support.\-I\-Data\-Set\-Source.\-Is\-File\-Opened\-Successfully\hspace{0.3cm}{\ttfamily [get]}}}\label{interface_political_classifier_1_1_support_1_1_i_data_set_source_a30a3b277fde9758d1d64c99c476c473f}


Return the status of the file if opened successfully. 

\hypertarget{interface_political_classifier_1_1_support_1_1_i_data_set_source_ae3a4252a01673224b1270383e4b746d6}{\index{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}!Voters\-Record@{Voters\-Record}}
\index{Voters\-Record@{Voters\-Record}!PoliticalClassifier::Support::IDataSetSource@{Political\-Classifier\-::\-Support\-::\-I\-Data\-Set\-Source}}
\subsubsection[{Voters\-Record}]{\setlength{\rightskip}{0pt plus 5cm}I\-Collection$<${\bf I\-Voter\-Record}$>$ Political\-Classifier.\-Support.\-I\-Data\-Set\-Source.\-Voters\-Record\hspace{0.3cm}{\ttfamily [get]}}}\label{interface_political_classifier_1_1_support_1_1_i_data_set_source_ae3a4252a01673224b1270383e4b746d6}


Returns the collection of I\-Voters\-Records on successful opening a given file. Otherwise returns null. 



The documentation for this interface was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
C\-:/\-Users/\-Jonathan.\-De\-Carlo/\-Source/\-Repos/\-Political\-Classifier/src/\-Political\-Classifier.\-Support/I\-Data\-Set\-Source.\-cs\end{DoxyCompactItemize}
